Extensions Manager 4.0 |
CONTENTS
A New Look |
This Technote is intended as a brief overview of Extensions Manager 4.0, which is included in Mac 0S 7.6. There are a number of new and enhanced features in the Extensions Manager which will be of interest to anyone who develops control panels, extensions or applications which might be controlled by it. This Technote is a companion to Technote 1090, Mac OS 7.6, which provides a full overview of the new release. We highly recommend that you read Technote 1090 in addition to this document. |
A New LookThe first change you will notice in Extensions Manager 4.0 is the new look. It's called the Apple Grayscale Appearance, as shown in Figure 1. Figure 1. The new look for Extensions Manager 4.0
|
How the Extensions Manager Interacts With Your ExtensionThe Extensions Manager 4.0 disables and enables extensions as past versions did by moving the disabled extensions to various folders inside the current System Folder with the string "(Disabled)" appended to the source folders' name. It enables extensions by moving from the disabled folder to their appropriate folder. This movement of extensions between the active folders and the disabled folders brings up a warning for developers of extensions. |
WARNING: As a developer, you need to make sure that your extension or control panel functions correctly when it is installed (i.e., its code ran at boot time), but it is no longer in the same folder it was at boot time. For example, your control panel was in the Control Panels folder and now it is in the Control Panels (Disabled) folder. Also, make sure that it functions correctly when it was not run at boot time, i.e., it's not installed, but it is now in the Control Panels or Extensions folder, meaning that it will run at next boot. For example, a control panel might put up an alert when opened in this case, saying that changing its settings will have no effect until the Macintosh has been restarted. |
Extensions Manager uses the Figure 3 shows what a Figure 3. ResEdit window, showing
|
Extensions Manager 4.0 retrieves the version number from
the Extensions Manager 4.0 uses the short version string to display the version of a file in its window, and it uses the long version string as the package identifier for each extension. The short version string does not have to be limited to just a number, but it should be short. To use the package feature of Extensions Manager 4.0, the long version string of all extensions in the same package must match exactly. If you are a vendor of extensions or other items which go
into the System Folder (or one of its subfolders) and you
have multiple extensions that work as a group, you can make
them into a package by simply giving all of them the same
long version string in their Developers creating groups of extensions should package all of those extensions into one package, even if those extensions do not function together as a group. By doing so, your extensions appear as a complete software package and will be organized in a way that can be easily identified by the user when Extensions Manager 4.0's display is in the package mode. |
As you can see in Figure 4, if there are two or more
items in a package, then a checkbox is shown, a special
package icon is displayed and the name of the package (taken
from the long version string in the Extensions Manager 4.0 incorporates tri-state checkboxes which let the user easily know that only some items in a group are on, just as the Installer lets you know that only some items in a custom install package will be installed, as in Figure 4. If the check box has a horizontal line through it, like this: Figure 5. Partially-disabled package checkbox |
it means that one or more items in the group are not active, as is the case of the Cyberdog 1.1 package in Figure 4. The Item Information WindowThe "Item Information" window, shown in Figure 6, provides a place for the display of textual information describing the facilities provided by an extension. Vendors can provide this information by including necessary resources in their extension files. Extensions Manager 4.0 retrieves the textual information displayed in this window from one of four places. The search order for finding that information is as follows:
Here is an example from MacsBug's Figure 6. Item Information window |
If no information is found in any of these places, it
displays the default information (which is the same
information that the Finder displays in Balloon Help where
there is no Figure 7. Generic Item Information |
The format of the Figure 8. ResEdit view of
![]() |
The format of the Using the 'CCI |
|